package com.hlxy.fixdb.dao.pro.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Repository;

import com.hlxy.fixdb.bean.COrgExtra;
import com.hlxy.fixdb.dao.pro.ProCOrgExtraDao;
import com.hlxy.fixdb.mapper.COrgExtraMapper;

@Component("proCOrgExtraDao")
public class ProCOrgExtraImpl implements ProCOrgExtraDao{
	
	@Autowired
	private COrgExtraMapper orgMapper;
	
	@Override
	public List<COrgExtra> getOrgExtra370(String area) {
		return orgMapper.selectByType370(area);
	}
	
	@Override
	public List<COrgExtra> getHisOrgExtra370(String area) {
		return orgMapper.selectHistoryByType370(area);
	}
}
